package com.cscd.service;

import com.cscd.commonutils.R;
import com.cscd.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cscd.entity.vo.UserVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chaichai
 * @since 2024-12-22
 */
public interface UserService extends IService<User> {

    R login(User user);

    R register(User user);

    UserVo getUserInfo(String userId);

    R getUserList(User user, Long pageNum, Long pageSize);

    R getUserById(String id);

    Boolean deleteUsers(String[] ids);

    Boolean updateUser(User user);

    Boolean addUser(User user);
}
